import React from "react";
//商家列表
export async function storeInfoPage(params) {
  return await React.$postJson('/manage/api/b/storeInfo/page', params);
}
// 新建商家
export async function storeInfoAdd(params) {
  return await React.$postJson('/manage/api/b/storeInfo/add', params);
}
// 省市区地址
export async function getDBAreaList(params) {
  return await React.$post('/management/dbArea/list', params);
}
//商品类目
export async function goodsClassifyTree(params) {
  return await React.$post('/management/goodsClassify/tree', params);
}
// 支付转账校验
export async function transferMoney(params) {
  return await React.$postJson('/trade/api/b/transferMoney', params);
}
// 管理员下拉列表
export async function queryByListMemberStore(params) {
  return await React.$post('/admin/memberInfo/queryByListMemberStore', params);
}
// 门店标签
export async function storeServiceLabelList(params) {
  return await React.$post('/admin/storeServiceLabel/list', params);
}
// 查看商家信息
export async function storeInfoDetailsPage(params) {
  return await React.$get('/manage/api/b/storeInfo/one', params);
}
// 编辑商家信息
export async function storeInfoEdit(params) {
  return await React.$postJson('/manage/api/b/storeInfo/edit', params);
}
// 开店/关店
export async function apiStoreInfoUpdateStoreState(params) {
  return await React.$postJson('/manage/api/b/storeInfo/updateStoreState', params);
}
